<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>TimeKiller</title>
	<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="full-screen" content="true" />
	<meta name="screen-orientation" content="portrait" />
	<meta name="x5-fullscreen" content="true" />
	<meta name="360-fullscreen" content="true" />
	<style>
	   html, body {
			touch-action: none;
			background: #000000;
			padding: 0;
			border: 0;
			margin: 0;
			height: 100%;
		}
	</style>
	<!--这个标签为通过egret提供的第三方库的方式生成的 javascript 文件。删除 modules_files 标签后，库文件加载列表将不会变化，请谨慎操作！-->
	<!--modules_files_start-->
	<script egret="lib" src="libs/modules/egret/egret.js" src-release="libs/modules/egret/egret.min.js"></script>
	<script egret="lib" src="libs/modules/egret/egret.web.js" src-release="libs/modules/egret/egret.web.min.js"></script>
	<script egret="lib" src="libs/modules/res/res.js" src-release="libs/modules/res/res.min.js"></script>
	<script egret="lib" src="libs/modules/eui/eui.js" src-release="libs/modules/eui/eui.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.js" src-release="libs/modules/game/game.min.js"></script>
	<script egret="lib" src="libs/modules/tween/tween.js" src-release="libs/modules/tween/tween.min.js"></script>
	<script egret="lib" src="libs/modules/socket/socket.js" src-release="libs/modules/socket/socket.min.js"></script>
	<!--modules_files_end-->

	<!--这个标签为不通过egret提供的第三方库的方式使用的 javascript 文件，请将这些文件放在libs下，但不要放在modules下面。-->
	<!--other_libs_files_start-->
	<script src="http://sdk.talkingdata.com/g/h5/v1/CF90CAF0969E49C39091E09C793768E1" type="text/javascript"></script>
	<!--other_libs_files_end-->

	<!--这个标签会被替换为项目中所有的 javascript 文件。删除 game_files 标签后，项目文件加载列表将不会变化，请谨慎操作！-->
	<!--game_files_start-->
	<script egret="game" src="bin-debug/dragon/model/battle/Battle.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/unit/Unit.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/base/Panel.js"></script>
	<script egret="game" src="bin-debug/dragon/view/scene/Sence.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/Equip.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/Network.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/Res.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/UI.js"></script>
	<script egret="game" src="bin-debug/AssetAdapter.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/BattleManager.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/Buff.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/Bullet.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/Config.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/MainBattle.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/Recorder.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/skill/Selector.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/skill/Settler.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/skill/Skill.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/skill/SkillLauncher.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/unit/Monster.js"></script>
	<script egret="game" src="bin-debug/dragon/model/battle/unit/Player.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/Effect.js"></script>
	<script egret="game" src="bin-debug/dragon/model/bean/Equip.js"></script>
	<script egret="game" src="bin-debug/dragon/model/bean/Player.js"></script>
	<script egret="game" src="bin-debug/dragon/model/bean/Reward.js"></script>
	<script egret="game" src="bin-debug/dragon/model/bean/UniformItem.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/Attr.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/Data.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/Group.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/ItemType.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/Quality.js"></script>
	<script egret="game" src="bin-debug/dragon/model/enums/Unit.js"></script>
	<script egret="game" src="bin-debug/dragon/model/manager/Drop.js"></script>
	<script egret="game" src="bin-debug/dragon/model/manager/Notice.js"></script>
	<script egret="game" src="bin-debug/dragon/model/manager/Package.js"></script>
	<script egret="game" src="bin-debug/dragon/model/utils/Number.js"></script>
	<script egret="game" src="bin-debug/dragon/model/utils/String.js"></script>
	<script egret="game" src="bin-debug/dragon/model/utils/Time.js"></script>
	<script egret="game" src="bin-debug/dragon/model/utils/Tools.js"></script>
	<script egret="game" src="bin-debug/dragon/view/battle/Attribute.js"></script>
	<script egret="game" src="bin-debug/dragon/view/battle/Battle.js"></script>
	<script egret="game" src="bin-debug/dragon/view/battle/Unit.js"></script>
	<script egret="game" src="bin-debug/dragon/view/component/Item.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/Kernel.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/Loading.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/Login.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/subpanel/MainMenu.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/subpanel/Package.js"></script>
	<script egret="game" src="bin-debug/dragon/view/panel/subpanel/Recorder.js"></script>
	<script egret="game" src="bin-debug/dragon/view/scene/MainScene.js"></script>
	<script egret="game" src="bin-debug/dragon/kernel/LocalStorage.js"></script>
	<script egret="game" src="bin-debug/dragon/view/scene/StartScene.js"></script>
	<script egret="game" src="bin-debug/Main.js"></script>
	<script egret="game" src="bin-debug/ThemeAdapter.js"></script>
	<!--game_files_end-->
</head>

<body>
	<div style="margin: auto;width: 100%;height: 100%;" class="egret-player" 
		 data-entry-class="Main"
		 data-orientation="auto"
		 data-scale-mode="showAll"
		 data-frame-rate="30"
		 data-content-width="640"
		 data-content-height="1136"
		 data-show-paint-rect="false"
		 data-multi-fingered="2"
		 data-show-fps="false" data-show-log="false"
		 data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
		<div id='___preloading' style="margin: auto;width: 100%;height: 100%; overflow:hidden; position:relative; text-align: center; ">
			<img src="resource\assets\loading\login_bg.jpg" style="height: 100%;" />
		</div>
	</div>
	<script>
		window.DRAGON_VERSION = '20170327-01';
		var url = window.location.search; //获取url中"?"符后的字串
		var theRequest = {};
		if (url.indexOf("?") != -1) {
			var strs = url.substr(1).split("&");
			for (var i = 0; i < strs.length; i++) {
				var param = strs[i].split("=");
				theRequest[param[0]] = decodeURIComponent(param[1]);
			}
		}

		window.TDGA && window.TDGA.Account({
			accountId: theRequest.open_id,
			level: 1,
			gameServer: 0,
		})
		/**
		 * {
		 * "renderMode":, //引擎渲染模式，"canvas" 或者 "webgl"
		 * "audioType": "" //使用的音频类型，0:默认，1:qq audio，2:web audio，3:audio
		 * "antialias": //WebGL模式下是否开启抗锯齿，true:开启，false:关闭，默认为false
		 * }
		 **/
		egret.runEgret({ renderMode: "canvas", audioType: 0 })
	</script>
</body>
</html>